package net.hn.hnms.biz.mine.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "涌水量预警信息")
@TableName(value = "dws_shfz_wateremission_alarm_day",schema = "znjc")
public class WateremissionAlarmDayPo {

    @ApiModelProperty(value = "total总数")
    @TableField(exist = false)
    private Integer total;

    @ApiModelProperty(value = "数据开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime bDataTime;

    @ApiModelProperty(value = "数据结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime eDataTime;

    @ApiModelProperty(value = "煤矿编号")
    private String mineCode;

    @ApiModelProperty(value = "测点编号")
    private String pointCode;

    @ApiModelProperty(value = "测点类型")
    private String sensorType;

    @ApiModelProperty(value = "测点位置")
    private String pointLocation;

    @ApiModelProperty(value = "0 代表与同昨天同时间段增加20%水量, 1代表增加30%， 2代表增加40% 3代表增加50%")
    private String alarmType;

    @ApiModelProperty(value = "前一天涌水量的时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime fDataTime;

    @ApiModelProperty(value = "当天涌水量的时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime sDataTime;

    @ApiModelProperty(value = "前一天涌水量")
    private BigDecimal fValue;

    @ApiModelProperty(value = "当天涌水量")
    private BigDecimal sValue;
}